0.0
NA
CVE-2024-38586
RTL8125b/CORRUPTION: Linux Kernel Ring Buffer Corruption Vulnerability
Description

In the Linux kernel, the following vulnerability has been resolved: r8169: Fix possible ring buffer corruption on fragmented Tx packets. An issue was found on the RTL8125b when transmitting small fragmented packets, whereby invalid entries were inserted into the transmit ring buffer, subsequently leading to calls to dma_unmap_single() with a null address. This was caused by rtl8169_start_xmit() not noticing changes to nr_frags which may occur when small packets are padded (to work around hardware quirks) in rtl8169_tso_csum_v2(). To fix this, postpone inspecting nr_frags until after any padding has been applied.

INFO

Published Date :

June 19, 2024, 2:15 p.m.

Last Modified :

Nov. 21, 2024, 9:26 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2024-38586 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
To address the kernel ring buffer corruption, update the affected kernel and packages.
  • Update the kernel package.
  • Update affected packages based on vendor guidance.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-38586 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-38586 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-38586 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-38586 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/078d5b7500d70af2de6b38e226b03f0b932026a6
    Added Reference https://git.kernel.org/stable/c/0c48185a95309556725f818b82120bb74e9c627d
    Added Reference https://git.kernel.org/stable/c/54e7a0d111240c92c0f02ceba6eb8f26bf6d6479
    Added Reference https://git.kernel.org/stable/c/61c1c98e2607120ce9c3fa1bf75e6da909712b27
    Added Reference https://git.kernel.org/stable/c/68222d7b4b72aa321135cd453dac37f00ec41fd1
    Added Reference https://git.kernel.org/stable/c/b6d21cf40de103d63ae78551098a7c06af8c98dd
    Added Reference https://git.kernel.org/stable/c/c71e3a5cffd5309d7f84444df03d5b72600cc417
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jul. 05, 2024

    Action Type Old Value New Value
    Added Reference kernel.org https://git.kernel.org/stable/c/61c1c98e2607120ce9c3fa1bf75e6da909712b27 [No types assigned]
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 19, 2024

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: r8169: Fix possible ring buffer corruption on fragmented Tx packets. An issue was found on the RTL8125b when transmitting small fragmented packets, whereby invalid entries were inserted into the transmit ring buffer, subsequently leading to calls to dma_unmap_single() with a null address. This was caused by rtl8169_start_xmit() not noticing changes to nr_frags which may occur when small packets are padded (to work around hardware quirks) in rtl8169_tso_csum_v2(). To fix this, postpone inspecting nr_frags until after any padding has been applied.
    Added Reference kernel.org https://git.kernel.org/stable/c/b6d21cf40de103d63ae78551098a7c06af8c98dd [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/0c48185a95309556725f818b82120bb74e9c627d [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/68222d7b4b72aa321135cd453dac37f00ec41fd1 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/078d5b7500d70af2de6b38e226b03f0b932026a6 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/54e7a0d111240c92c0f02ceba6eb8f26bf6d6479 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/c71e3a5cffd5309d7f84444df03d5b72600cc417 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
No CVSS metrics available for this vulnerability.